package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 护理项目计划
 */
@Mapper
public interface NursingProjectPlansMapper {


    void addNursingProjectPlans(List<NursingProjectPlan> projectPlans);


    List<NursingProjectPlan> findByPlanId(Long id);

    @Delete("delete from nursing_project_plan where plan_id=#{id}")
    void delete(Long id);
}
